package com.fh.controller;

import com.fh.service.ShopCartService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("shopcart")
public class ShopCartController {

    @Resource
    private ShopCartService shopCartService;

    @RequestMapping("del")
    public  int  del( @RequestParam("cid") Integer cid){
        return  shopCartService.del(cid);
    }



}
